#! python3
# 简单的倒计时程序

import subprocess
import time

a = 20
print("输入回车键开始%d秒倒计时：" % a, end="", flush=True)
input()
i = a
while i > 0:
    print("倒计时：", i)
    time.sleep(1)
    i = i - 1

print("倒计时%d秒结束!" % a)
subprocess.Popen(['start', 'a.wav'], shell=True)
